#!/usr/bin/env python

import re

f1 = file('hello.txt', 'r')

count = 0
for s in f1.readlines():
    li = re.findall("hello", s)
    if len(li) > 0:
        count = count + li.count("hello")

print "find" + str(count) + "hello"
f1.close()
